<?php
	require('Tourny/tourny_functions.php');
	dblogin();
		
	$tid = $_GET['tid'];
	$rsvp = $_GET['rsvp'];

?>

<div id="hov_rsvp">

<?php 	
	$query = 
	'select t.player
	 from TOURNY_VOTE t
	 where t.t_id = '.$tid.
	 ' and t.rsvp = \''.$rsvp.'\'';	 
	 if($result = mysql_query($query)){
		while($row = mysql_fetch_array($result)){
			$pid = $row['player'];
?>
	<li> <?php echo player_name($pid);?> </li>
<?php
		}
	}		
?>

</div>